package com.frinder.seata.account;

import com.spring4all.swagger.EnableSwagger2Doc;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @ClassName AccountApp
 * @Description TODO
 * @Author frinder
 * @Date 2020/8/18 11:31
 * @Verion 1.0
 */
@SpringBootApplication(
        scanBasePackages = {"com.frinder.seata"},
        exclude = DataSourceAutoConfiguration.class
)
@EnableDiscoveryClient
@EnableFeignClients
@EnableSwagger2Doc
public class AccountApp {
    public static void main(String[] args) {
        SpringApplication.run(AccountApp.class, args);
    }
}
